0e8636dbdb3fbab8e18089f27e388afcad02267e,src/ca/mcgill/cs/stg/jetuml/framework/SegmentationStyleFactory.java,Straight,getPath,#Node#Node#Graph#,174
Before Change
Point2D start = pStart.getConnectionPoint(computeDirection(pStart, pEnd));
if( pGraph != null )
{
Direction direction = computeDirection(pStart, pEnd);
Position position = computePosition(pStart, direction, pGraph, pEnd);
if( direction == Direction.EAST || direction == Direction.WEST )
After Change
@Override
public Point2D[] getPath(Node pStart, Node pEnd, Graph pGraph)
{
Side startSide = computeSide(pStart, pEnd);
Point2D start = pStart.getConnectionPoint(startSide.getDirection());
if( pGraph != null )
{